import http from "../utils/http/service";

// 获取年份
export const getProjectYear = (): Promise<any> => {
  return http.get("/snow-admin/thdReportMonth/getProjectYear");
};

// 获取版本
export const getReportDate = (data): Promise<any> => {
  return http.post("/snow-admin/thdReportMonth/getReportDate", data);
};

// 获取报表
export const getList = (data): Promise<any> => {
  return http.post("/snow-admin/thdReportMonth/list", data);
};

// 获取费用报表
export const costList = (data): Promise<any> => {
  return http.post("/snow-admin/thdReportMonth/costList", data);
};
